<!DOCTYPE html>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>{if $title}{$title}{else}二手市场{/if}</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width">
    <link rel="stylesheet" href="../addons/thinkidea_secondmarket/template/static/amaze/assets/css/amazeui.min.css">
    <script src="../addons/thinkidea_secondmarket/template/static/amaze/assets/js/jquery.min.js"></script>
    <script src="../addons/thinkidea_secondmarket/template/static/amaze/assets/js/amazeui.min.js"></script>
</head>
<body>
<header data-am-widget="header" class="am-header am-header-default">
    <div class="am-header-left am-header-nav">
        {if $_GPC['do'] == 'list'}
        <a href="javascript:WeixinJSBridge.call('closeWindow');" class="am-icon-angle-left am-icon-sm"></a>
        {else}
        <a href="javascript:window.history.go(-1);" class="am-icon-angle-left am-icon-sm"></a>
        {/if}
    </div>
    <h1 class="am-header-title">
        {if $title}{$title}{else}二手市场{/if}
    </h1>
    {if $_GPC['do'] != 'list'}
    <div class="am-header-right am-header-nav" style="right: 40px;">
        <a href="{php echo $this->createMobileUrl('list')}" class="am-icon-home am-icon-sm">
        </a>
    </div>
    {/if}
    <div class="am-header-right am-header-nav">
        {if $_GPC['do'] == 'mygoods'}
        <a href="{php echo $this->createMobileUrl('add')}" class="am-icon-edit am-icon-sm">
        </a>
        {else}
        <a href="{php echo $this->createMobileUrl('mygoods')}" class="am-icon-user am-icon-sm">
        </a>
        {/if}
    </div>
</header>